package jsurftwmm;

import java.util.Comparator;

public class MyComparator implements Comparator<SurfImage> {

	@Override
	public int compare(SurfImage arg0, SurfImage arg1) {
                 return arg1.getSimilarity() - arg0.getSimilarity();   
                //return arg1.countMatchingPoint() - arg0.countMatchingPoint();
		//return arg1.countMatchingPoint()/arg1.getfreeOrientedInterestPoints().size() - arg0.countMatchingPoint()/arg1.getfreeOrientedInterestPoints().size();
	}

}
